#include "MaxNum1.h"


MaxNum1::MaxNum1(void)
{
}

int MaxNum1::maxnum(int a,int b)
{
	int i,m;
	do{
		i = a % b;
		m = b;
		a = b;
		b = i;
	}while(i!=0);
	return m;
}


MaxNum1::~MaxNum1(void)
{
}
